package com.wuwei.elearning.question.service;

import com.wuwei.elearning.question.domain.Audio;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wuwei.elearning.utils.result.Result;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;

/**
 * <p>
 * 音频资源表 服务类
 * </p>
 *
 * @author wuwei
 * @since 2024-06-05
 */
public interface AudioService extends IService<Audio> {

   void insert(MultipartFile file, Long account, String duration );

    void deleteById(Long id);

    void myUpdateById(Audio audio);

}
